.loginPage {
  position: relative;
  min-height: 100vh;
  background: url('../../../public/login_bg\(1\).png') no-repeat center center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: url('../../../public/login_bg\(1\).png') no-repeat center bottom;
  background-size: contain;
  opacity: 0.3;
}

.bgImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 40px 24px 40px;
}
.BottomImg{
  width: 90%;
  margin-left: 5%;
}
.logoSection {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  margin-top: 40px;
}

.logo {
  width: 300px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;

}
.logoImg{
    width: 80px;
    height: 80px;
}

.logoIcon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heartIcon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

.loginCard {
  background: #fff;
  border-radius: 5px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.inputGroup {
  margin-bottom: 24px;
}

.inputWrapper {
  position: relative;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  background: transparent;
  border-radius: 0;
  padding: 0;
  height: 50px;
  border-bottom: 1px solid #e9ecef;

  &:focus-within {
    border-bottom-color: #3498db;
  }

  &:not(:last-child) {
    border-bottom: 1px solid #e9ecef;
  }
}

.inputIcon {
  font-size: 18px;
  color: #6c757d;
  margin-right: 15px;
  width: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;

  img {
    width: 18px;
    height: 18px;
    object-fit: contain;
  }
}

.input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #333;
  height: 100%;

  &::placeholder {
    color: #adb5bd;
  }
}


.errorMsg {
  color: #ff4d4f;
  font-size: 12px;
  margin: 6px 0 0 36px;
}

.eyeIcon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;

  img {
    width: 16px;
    height: 16px;
    object-fit: contain;
  }

  &:hover {
    background-color: #e9ecef;
  }
}

.loginButton {
  width: 100%;
  height: 48px;
  background: #3087ea;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 20px;

  &:hover {
    background: #2980b9;
  }

  &:active {
    transform: translateY(1px);
  }
}

.links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.link {
  background: none;
  border: none;
  color: #f8f8f8;
  font-size: 12px;
  cursor: pointer;
  padding: 8px 4px;
  transition: color 0.2s ease;
}
.linkText{
  color: #f8f8f8;
  font-size: 11px;
}
.linkText2{
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}
.otherLogin {
  text-align: center;
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 300px;
}


.divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  width: 100%;
  
  &::before,
  &::after {
    content: '';
    height: 1px;
    background-color: #fff;
    opacity: 0.9;
    width: 50px;
    flex-shrink: 0;
  }
  
  &::before {
    margin-right: 15px;
  }
  
  &::after {
    margin-left: 15px;
  }
}

.dividerText {
  color: #fff;
  font-size: 14px;
  position: relative;
  z-index: 1;
  background: transparent;
  white-space: nowrap;
}

.socialLogin {
  display: flex;
  justify-content: center;
}

.socialButton {
  width: 26px;
  height: 26px;
  background: #fff;
  border: 2px solid #3498db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}

.wechatIcon {
  font-size: 14px;
  color: #3498db;
  font-weight: bold;
}

// 响应式设计
@media (max-width: 375px) {
  .content {
    padding: 40px 15px 30px;
  }

  .loginCard {
    padding: 30px 20px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .logo {
    width: 80px;
    height: 80px;
  }

  .logoIcon {
    width: 60px;
    height: 60px;
  }

  .socialButton {
    width: 50px;
    height: 50px;
  }

  .wechatIcon {
    font-size: 24px;
  }
}
